<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>DWR3.0学习</title>
<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="dwr/util.js"></script>
<script type="text/javascript" src="dwr/engine.js"></script>
<script type="text/javascript" src="dwr/interface/messagePush.js"></script>
</head>
<body>
	<table border="0">
		<tr>
			<td><input id ="content" type="text"/></td>
			<td><input id ="send" type="button" value="send"/></td>
		</tr>
	</table>
	<script type="text/javascript">
		$("#send").click(function() {
			var content = $("#content").val();
			messagePush.send(content);
		});
	</script>
</body>
</html>